package com.wly.jmockito.dao;

import com.wly.jmockito.domain.Student;
import org.springframework.stereotype.Component;

/**
 * Description:
 * Copyright: Copyright (c) 2024
 * Create Time: 2024-11-08 15:13
 *
 * @author wanglianyun
 */
@Component
public class StudentDao {

    public Student getStudentById(int id) {
        return new Student(id, "王五", 20);
    }
}
